500
|
How can I change the foreground color of the HTML text or caption of the bar in the chart

public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<bgcolor=FF0000> to do </bgcolor>");
com_Items.ItemBar(h,"K1",8/*exBarForeColor*/,COMVariant::createFromInt(16777215));
}
|
499
|
How can I assign a tooltip to a bar in the chart

public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
com_Items.ItemBar(h,"K1",6/*exBarToolTip*/,"This is a bit of text that's displayed when the cursor hovers the bar");
}
|
498
|
How can I vertically align the HTML text or caption of the bar in the chart

public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.ItemHeight(h,32);
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<bgcolor=FF0000> to do </bgcolor>");
com_Items.ItemBar(h,"K1",5/*exBarVAlignCaption*/,COMVariant::createFromInt(0));
}
|
497
|
How can I align the HTML text or caption of the bar in the chart

public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
com_Items.ItemBar(h,"K1",3/*exBarCaption*/,"<bgcolor=FF0000> to do </bgcolor>");
com_Items.ItemBar(h,"K1",4/*exBarHAlignCaption*/,COMVariant::createFromInt(0));
}
|
496
|
How can I assign a text or some HTML caption to a bar in the chart

public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),"K1");
com_Items.ItemBar(h,"K1",3/*exBarCaption*/," <bgcolor=FF0000>to do</bgcolor> ");
}
|
495
|
How can I change the ending date of the bar in the chart
public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
com_Items.ItemBar(h,"K1",2/*exBarEnd*/,COMVariant::createFromDate(str2Date("1/6/2001",213)));
}
|
494
|
How can I change the starting date of the bar in the chart
public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
com_Items.ItemBar(h,"K1",1/*exBarStart*/,COMVariant::createFromDate(str2Date("1/1/2001",213)));
}
|
493
|
How can I change the style or the name of the bar in the chart

public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
com_Items.ItemBar(h,"K1",0/*exBarName*/,"Progress");
}
|
492
|
How can I access properties and methods of the bar in the chart
public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
com_Items.ItemBar(h,"K1",0/*exBarName*/,"Progress");
}
|
491
|
How can I remove all bars in the item
public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
com_Items.ClearBars(h);
}
|
490
|
How can I remove a bar from the chart
public void init()
{
COM com_Items;
anytype var_Items;
int h;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
h = com_Items.AddItem("Task 1");
com_Items.AddBar(h,"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"K1");
com_Items.RemoveBar(h,"K1");
}
|
489
|
How can I add a bar and some text inside, in the chart area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),," to do ");
}
|
488
|
How can I add a bar and some text inside, in the chart area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/6/2001",213)),,"<bgcolor=FF0000> to do </bgcolor>");
}
|
487
|
How can I add an anchor or a hyperline in the chart area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Task 1"),"",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),,"just a <a1>link</a>");
}
|
486
|
How can I add some text or captions in the chart area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Task 1"),"",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),,"just a <b>caption</b>");
}
|
485
|
How can I add a bar in the chart area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Columns().Add("Task");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Task 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
|
484
|
Is there any option to put a picture or an icon to the thumb part of the scroll bar

public void init()
{
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exgantt1.Images(COMVariant::createFromStr(var_s));
exgantt1.ScrollPartCaption(2/*exHChartScroll*/,256/*exThumbPart*/,"<img>1</img>");
exgantt1.ScrollThumbSize(2/*exHChartScroll*/,24);
}
|
483
|
How can I scroll fast the chart, or page by page

public void init()
{
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exgantt1.Images(COMVariant::createFromStr(var_s));
exgantt1.ScrollHeight(20);
exgantt1.ScrollButtonWidth(20);
exgantt1.AllowChartScrollPage(true);
exgantt1.ScrollPartCaption(2/*exHChartScroll*/,2048/*exLeftB5Part*/,"<img>1</img>");
exgantt1.ScrollPartCaption(2/*exHChartScroll*/,32/*exRightB1Part*/,"<img>2</img>");
}
|
482
|
How can I scroll fast the chart, or page by page

public void init()
{
;
super();
exgantt1.ScrollButtonWidth(16);
exgantt1.AllowChartScrollPage(true);
exgantt1.ScrollPartCaption(2/*exHChartScroll*/,2048/*exLeftB5Part*/,"<<");
exgantt1.ScrollPartCaption(2/*exHChartScroll*/,32/*exRightB1Part*/,">>");
}
|
481
|
How can I scroll fast the chart, or page by page

public void init()
{
;
super();
exgantt1.AllowChartScrollPage(true);
}
|
480
|
How can I display years, from 3 to 3

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().UnitWidth(64);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label("<%yyyy%>");
com_Level.Unit(0/*exYear*/);
com_Level.Count(3);
}
|
479
|
How can I display years

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().UnitWidth(64);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label("<%yy%>");
com_Level.Unit(0/*exYear*/);
}
|
478
|
How can I display years

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().UnitWidth(48);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(0));
}
|
477
|
How can I display months, from 3 to 3

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Chart().LevelCount(2);
exgantt1.Chart().UnitWidth(64);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(1));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%mmmm%>");
com_Level.Unit(16/*exMonth*/);
com_Level.Count(3);
}
|
476
|
How can I display months

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().UnitWidth(64);
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(1));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%mmmm%>/<%yy%>");
com_Level.Unit(16/*exMonth*/);
}
|
475
|
How can I display months

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
exgantt1.Chart().UnitWidth(64);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(1));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(16));
}
|
474
|
How can I display weeks

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
exgantt1.Chart().UnitWidth(64);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(17));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(256));
}
|
473
|
How can I display weeks

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(17));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%ww%>");
}
|
472
|
How can I display days, from 2 to 2

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(256));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%dd%>");
com_Level.Count(2);
}
|
471
|
How can I display days

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(256));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%dd%>");
}
|
470
|
How can I display days

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(256));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(4096));
}
|
469
|
How can I display hours, from 6 to 6

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().FirstVisibleDate("00:00");
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(4096));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%hh%>");
com_Level.Count(6);
}
|
468
|
How can I display hours

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(4096));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%hh%>");
}
|
467
|
How can I display hours

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(4096));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(65536));
}
|
466
|
How can I display minutes, from 15 to 15

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().FirstVisibleDate("00:00");
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(65536));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%nn%>");
com_Level.Count(15);
}
|
465
|
How can I display minutes

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(65536));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%nn%>");
}
|
464
|
How can I display minutes

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
exgantt1.Chart().UnitWidth(64);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(65536));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(1048576));
}
|
463
|
How can I display seconds, from 15 to 15

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().FirstVisibleDate("00:00");
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(1048576));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%ss%>");
com_Level.Count(15);
}
|
462
|
How can I display seconds

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(1048576));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label("<%ss%>");
}
|
461
|
How can I display seconds

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(1048576));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.Label(COMVariant::createFromInt(16777216));
}
|
460
|
How can I align the text being shown in the chart's header

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().UnitWidth(64);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.Label("<b><%mmmm%></b> <r><%m%>");
com_Level.Unit(16/*exMonth*/);
com_Level.Alignment(0/*LeftAlignment*/);
}
|
459
|
How can I hide the tooltip being displayed in the chart's header

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.ToolTip("");
}
|
458
|
How can I change the tooltip being displayed in the chart's header

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.ToolTip("This is a bit of text that's shown when the cursor hovers the level");
}
|
457
|
How can I change the visual appearance of the chart's header, where levels are displayed, using your EBN files

public void init()
{
;
super();
exgantt1.VisualAppearance().Add(1,"c:\\exontrol\\images\\normal.ebn");
exgantt1.Chart().LevelCount(2);
exgantt1.Chart().BackColorLevelHeader(0x1000000);
}
|
456
|
How can I change the level's foreground color in the chart

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.ForeColor(WinApi::RGB2int(255,0,0));
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.ForeColor(WinApi::RGB2int(0,0,255));
}
|
455
|
How can I change the level's background color in the chart

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(0); com_Level = var_Level;
com_Level.BackColor(WinApi::RGB2int(255,0,0));
}
|
454
|
How can I save data on XML format
public void init()
{
;
super();
}
|
453
|
How can I load data on XML format
public void init()
{
;
super();
}
|
452
|
How can I add icons or pictures to the scale or zoom area

public void init()
{
COM com_Chart,com_Items;
anytype var_Chart,var_Items;
str var_s;
;
super();
exgantt1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exgantt1.Images(COMVariant::createFromStr(var_s));
var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
com_Chart.OverviewHeight(48);
com_Chart.OverviewVisible(true);
com_Chart.AllowOverviewZoom(-1/*exZoomOnRClick*/);
com_Chart.OverviewZoomCaption("Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec");
com_Chart.Label(0/*exYear*/,"");
com_Chart.Label(1/*exHalfYear*/,"");
com_Chart.Label(2/*exQuarterYear*/,"");
com_Chart.Label(17/*exThirdMonth*/,"");
com_Chart.Label(65536/*exHour*/,"");
com_Chart.Label(1048576/*exMinute*/,"");
com_Chart.Label(16777216/*exSecond*/,"");
com_Chart.OverviewZoomUnit(52);
exgantt1.Columns().Add("");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.CellSingleLine(com_Items.AddItem("Right click the Overview area and select a new scale"),COMVariant::createFromInt(0),false);
}
|
451
|
How can I add icons or pictures to the scale or zoom area

public void init()
{
COM com_Chart;
anytype var_Chart;
str var_s;
;
super();
exgantt1.HTMLPicture("pic1","c:\\exontrol\\images\\zipdisk.gif");
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exgantt1.Images(COMVariant::createFromStr(var_s));
var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
com_Chart.OverviewHeight(48);
com_Chart.OverviewVisible(true);
com_Chart.AllowOverviewZoom(1/*exAlwaysZoom*/);
com_Chart.OverviewZoomCaption("Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec");
com_Chart.Label(0/*exYear*/,"");
com_Chart.Label(1/*exHalfYear*/,"");
com_Chart.Label(2/*exQuarterYear*/,"");
com_Chart.Label(17/*exThirdMonth*/,"");
com_Chart.Label(65536/*exHour*/,"");
com_Chart.Label(1048576/*exMinute*/,"");
com_Chart.Label(16777216/*exSecond*/,"");
com_Chart.OverviewZoomUnit(52);
}
|
450
|
How can I change the width of the unit in the scale or zoom

public void init()
{
COM com_Chart;
anytype var_Chart;
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exgantt1.Images(COMVariant::createFromStr(var_s));
var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
com_Chart.OverviewVisible(true);
com_Chart.AllowOverviewZoom(1/*exAlwaysZoom*/);
com_Chart.OverviewZoomCaption("Year|½Year|¼Year|<img>3</img>|Third|<img>2</img>|<img>1</img>|Hour|Min|Sec");
com_Chart.Label(0/*exYear*/,"");
com_Chart.Label(1/*exHalfYear*/,"");
com_Chart.Label(2/*exQuarterYear*/,"");
com_Chart.Label(17/*exThirdMonth*/,"");
com_Chart.Label(65536/*exHour*/,"");
com_Chart.Label(1048576/*exMinute*/,"");
com_Chart.Label(16777216/*exSecond*/,"");
com_Chart.OverviewZoomUnit(24);
}
|
449
|
How can I a scale or zoom of the chart, when right clicking the chart's header

public void init()
{
COM com_Chart,com_Items;
anytype var_Chart,var_Items;
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exgantt1.Images(COMVariant::createFromStr(var_s));
var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
com_Chart.OverviewVisible(true);
com_Chart.AllowOverviewZoom(-1/*exZoomOnRClick*/);
com_Chart.OverviewZoomCaption("Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec");
com_Chart.Label(0/*exYear*/,"");
com_Chart.Label(1/*exHalfYear*/,"");
com_Chart.Label(2/*exQuarterYear*/,"");
com_Chart.Label(17/*exThirdMonth*/,"");
com_Chart.Label(65536/*exHour*/,"");
com_Chart.Label(1048576/*exMinute*/,"");
com_Chart.Label(16777216/*exSecond*/,"");
com_Chart.OverviewZoomUnit(64);
exgantt1.Columns().Add("");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.CellSingleLine(com_Items.AddItem("Right click the Overview area and select a new scale"),COMVariant::createFromInt(0),false);
}
|
448
|
How can I a customize the scale or zoom of the chart

public void init()
{
COM com_Chart;
anytype var_Chart;
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exgantt1.Images(COMVariant::createFromStr(var_s));
var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
com_Chart.OverviewVisible(true);
com_Chart.AllowOverviewZoom(1/*exAlwaysZoom*/);
com_Chart.OverviewZoomCaption("Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec");
com_Chart.Label(0/*exYear*/,"");
com_Chart.Label(1/*exHalfYear*/,"");
com_Chart.Label(2/*exQuarterYear*/,"");
com_Chart.Label(17/*exThirdMonth*/,"");
com_Chart.Label(65536/*exHour*/,"");
com_Chart.Label(1048576/*exMinute*/,"");
com_Chart.Label(16777216/*exSecond*/,"");
com_Chart.OverviewZoomUnit(64);
}
|
447
|
How can I a scale or zoom the chart at runtime

public void init()
{
COM com_Chart;
anytype var_Chart;
str var_s;
;
super();
var_s = "gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql";
var_s = var_s + "Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0";
var_s = var_s + "ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN";
var_s = var_s + "AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=";
exgantt1.Images(COMVariant::createFromStr(var_s));
var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
com_Chart.OverviewVisible(true);
com_Chart.AllowOverviewZoom(1/*exAlwaysZoom*/);
com_Chart.OverviewZoomCaption("½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec");
}
|
446
|
How can I a scale or zoom the chart at runtime

public void init()
{
COM com_Chart;
anytype var_Chart;
;
super();
var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
com_Chart.OverviewVisible(true);
com_Chart.AllowOverviewZoom(1/*exAlwaysZoom*/);
com_Chart.OverviewZoomUnit(24);
}
|
445
|
How can I a programmatically select a date
public void init()
{
;
super();
exgantt1.Chart().MarkSelectDateColor(WinApi::RGB2int(255,0,0));
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Chart().SelectDate(str2Date("1/2/2001",213),true);
exgantt1.Chart().SelectDate(str2Date("1/5/2001",213),true);
exgantt1.Chart().SelectLevel(0);
}
|
444
|
How can I change the color to select a date, when clicking the chart's header
public void init()
{
;
super();
exgantt1.Chart().BackColor(WinApi::RGB2int(255,255,255));
exgantt1.Chart().MarkSelectDateColor(WinApi::RGB2int(255,0,0));
}
|
443
|
How can I enable or disable selecting a date, when clicking the chart's header
public void init()
{
;
super();
exgantt1.Chart().BackColor(WinApi::RGB2int(255,255,255));
exgantt1.Chart().MarkSelectDateColor(WinApi::RGB2int(255,255,255));
}
|
442
|
How can I specify the color or the stype for non working hours

public void init()
{
;
super();
exgantt1.Chart().UnitScale(65536/*exHour*/);
/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,0);
exgantt1.Chart().NonworkingHours(127);
exgantt1.Chart().NonworkingHoursPattern(12/*exPatternYard*/);
exgantt1.Chart().NonworkingHoursColor(WinApi::RGB2int(255,0,0));
}
/*
public void activate(boolean _active)
{
;
super(_active);
exgantt1.Chart().PaneWidth(false,0);
}
*/
|
441
|
How can I specify the pattern or the stype for non working hours

public void init()
{
;
super();
exgantt1.Chart().UnitScale(65536/*exHour*/);
/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,0);
exgantt1.Chart().NonworkingHours(127);
exgantt1.Chart().NonworkingHoursPattern(7/*exPatternDiagCross*/);
}
/*
public void activate(boolean _active)
{
;
super(_active);
exgantt1.Chart().PaneWidth(false,0);
}
*/
|
440
|
How can I specify the non working hours

public void init()
{
;
super();
exgantt1.Chart().UnitScale(65536/*exHour*/);
/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,0);
exgantt1.Chart().NonworkingHours(127);
}
/*
public void activate(boolean _active)
{
;
super(_active);
exgantt1.Chart().PaneWidth(false,0);
}
*/
|
439
|
How can I get the index of the level from the point or cursor
public void init()
{
int var_LevelFromPoint;
;
super();
var_LevelFromPoint = exgantt1.Chart().LevelFromPoint(0,0);
}
|
438
|
How can I get the link from the point or cursor
public void init()
{
COMVariant var_LinkFromPoint;
;
super();
var_LinkFromPoint = exgantt1.Chart().LinkFromPoint(0,0);
}
|
437
|
How can I check or verify if a date is a non working day
public void init()
{
;
super();
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add(exgantt1.Chart().IsNonworkingDate(COMVariant::createFromDate(str2Date("1/1/2001",213))));
}
|
436
|
How can I check or verify if a date fits the chart's visible area
public void init()
{
;
super();
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add(exgantt1.Chart().IsDateVisible(COMVariant::createFromDate(str2Date("1/1/2001",213))));
}
|
435
|
How can I add a remove all non working days
public void init()
{
;
super();
exgantt1.Chart().NonworkingDays(0);
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Chart().AddNonworkingDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Chart().ClearNonworkingDates();
}
|
434
|
How can I add a remove a non working days
public void init()
{
;
super();
exgantt1.Chart().NonworkingDays(0);
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Chart().AddNonworkingDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Chart().RemoveNonworkingDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
}
|
433
|
How can I add a custom non working days

public void init()
{
;
super();
exgantt1.Chart().NonworkingDays(0);
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Chart().AddNonworkingDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Chart().AddNonworkingDate(COMVariant::createFromDate(str2Date("1/5/2001",213)));
}
|
432
|
How can hide the non working days
public void init()
{
;
super();
exgantt1.Chart().ShowNonworkingDates(false);
}
|
431
|
How can hide the non working days
public void init()
{
;
super();
exgantt1.Chart().NonworkingDays(0);
}
|
430
|
How can I change the width of the links between bars

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().LinksStyle(0/*exLinkSolid*/);
exgantt1.Chart().LinksWidth(2);
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1");
com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B2");
com_Items.AddLink("L1",com_Items.FindItem("Item 1",COMVariant::createFromInt(0)),"B1",com_Items.FindItem("Item 2",COMVariant::createFromInt(0)),"B2");
}
|
429
|
How can I change the style for the links between bars

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().LinksStyle(4/*exLinkDashDotDot*/);
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1");
com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B2");
com_Items.AddLink("L1",com_Items.FindItem("Item 1",COMVariant::createFromInt(0)),"B1",com_Items.FindItem("Item 2",COMVariant::createFromInt(0)),"B2");
}
|
428
|
How can I change the color for the links between bars

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().LinksColor(WinApi::RGB2int(255,0,0));
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1");
com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B2");
com_Items.AddLink("L1",com_Items.FindItem("Item 1",COMVariant::createFromInt(0)),"B1",com_Items.FindItem("Item 2",COMVariant::createFromInt(0)),"B2");
}
|
427
|
How can I hide the links between bars
public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)),"B1");
com_Items.AddBar(com_Items.AddItem("Item 2"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)),"B2");
com_Items.AddLink("L1",com_Items.FindItem("Item 1",COMVariant::createFromInt(0)),"B1",com_Items.FindItem("Item 2",COMVariant::createFromInt(0)),"B2");
exgantt1.Chart().ShowLinks(false);
}
|
426
|
How can I display some grid line in the overview area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().OverviewVisible(true);
exgantt1.Chart().OverviewLevelLines(0);
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)));
}
|
425
|
How do I change the tooltip when the cursor hovers the overview area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().OverviewVisible(true);
exgantt1.Chart().OverviewToolTip("Tooltip on the overview");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/6/2001",213)),COMVariant::createFromDate(str2Date("1/14/2001",213)));
}
|
424
|
How do I remove the tooltip when the cursor hovers the overview area
public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().OverviewVisible(true);
exgantt1.Chart().OverviewToolTip("");
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
|
423
|
How do I change the selection color in the overview area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().OverviewVisible(true);
exgantt1.Chart().OverviewSelBackColor(WinApi::RGB2int(255,0,0));
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
|
422
|
How do I change the background color for the overview area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().OverviewVisible(true);
exgantt1.Chart().OverviewBackColor(WinApi::RGB2int(255,0,0));
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
|
421
|
How do I specify the height for the overview area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().OverviewVisible(true);
exgantt1.Chart().OverviewHeight(16);
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
|
420
|
How do I show or hide the control's overview area

public void init()
{
COM com_Items;
anytype var_Items;
;
super();
exgantt1.Chart().OverviewVisible(true);
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"Task",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
|
419
|
How do I get the bar from the point or cursor
public void init()
{
COMVariant var_BarFromPoint;
;
super();
var_BarFromPoint = exgantt1.Chart().BarFromPoint(0,0);
}
|
418
|
How do I specify the color of pattern for non working days

public void init()
{
;
super();
exgantt1.Chart().NonworkingDays(66);
exgantt1.Chart().NonworkingDaysPattern(8/*exPatternVertical*/);
exgantt1.Chart().NonworkingDaysColor(WinApi::RGB2int(255,0,0));
}
|
417
|
How do I specify the type of pattern for non working days

public void init()
{
;
super();
exgantt1.Chart().NonworkingDays(66);
exgantt1.Chart().NonworkingDaysPattern(11/*exPatternBrick*/);
}
|
416
|
How do I specify the non working days

public void init()
{
;
super();
exgantt1.Chart().NonworkingDays(66);
}
|
415
|
How do I specify the non working days
public void init()
{
;
super();
exgantt1.Chart().NonworkingDays(66);
}
|
414
|
How do I add a predefined bar

public void init()
{
COM com_Bar,com_Items;
anytype var_Bar,var_Items;
;
super();
var_Bar = COM::createFromObject(exgantt1.Chart().Bars()).Add("CustomBar"); com_Bar = var_Bar;
com_Bar.Color(WinApi::RGB2int(255,0,0));
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2001",213)));
exgantt1.Columns().Add("Column");
var_Items = exgantt1.Items(); com_Items = var_Items;
com_Items.AddBar(com_Items.AddItem("Item 1"),"CustomBar",COMVariant::createFromDate(str2Date("1/2/2001",213)),COMVariant::createFromDate(str2Date("1/4/2001",213)));
}
|
413
|
How do I change the unit being displayed in the chart

public void init()
{
;
super();
/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,0);
exgantt1.Chart().UnitScale(256/*exWeek*/);
exgantt1.Chart().UnitWidth(64);
}
/*
public void activate(boolean _active)
{
;
super(_active);
exgantt1.Chart().PaneWidth(false,0);
}
*/
|
412
|
How do I specify the prodefined tooltip being shown on the chart's header, when Zoom method is used

public void init()
{
;
super();
/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,0);
exgantt1.Chart().LevelCount(2);
exgantt1.Chart().Label(1/*exHalfYear*/,"");
exgantt1.Chart().Label(2/*exQuarterYear*/,"");
exgantt1.Chart().Label(16/*exMonth*/,"<%m3%>");
exgantt1.Chart().LabelToolTip(16/*exMonth*/,"Tooltip: <%mmmm%>");
exgantt1.Chart().Zoom(str2Date("1/1/2007",213),str2Date("1/1/2008",213));
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2007",213)));
}
/*
public void activate(boolean _active)
{
;
super(_active);
exgantt1.Chart().PaneWidth(false,0);
}
*/
|
411
|
How do I specify the prodefined labels being displayed on the chart, when Zoom method is used

public void init()
{
;
super();
/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,0);
exgantt1.Chart().LevelCount(2);
exgantt1.Chart().Label(1/*exHalfYear*/,"");
exgantt1.Chart().Label(2/*exQuarterYear*/,"");
exgantt1.Chart().Label(16/*exMonth*/,"<%m3%>");
exgantt1.Chart().Zoom(str2Date("1/1/2007",213),str2Date("1/1/2008",213));
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2007",213)));
}
/*
public void activate(boolean _active)
{
;
super(_active);
exgantt1.Chart().PaneWidth(false,0);
}
*/
|
410
|
How do I scale or zoom the chart to a specified range of date
public void init()
{
;
super();
/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,0);
exgantt1.Chart().LevelCount(2);
exgantt1.Chart().Label(1/*exHalfYear*/,"");
exgantt1.Chart().Label(2/*exQuarterYear*/,"");
exgantt1.Chart().Label(16/*exMonth*/,"<%m3%>");
exgantt1.Chart().Zoom(str2Date("1/1/2007",213),str2Date("1/1/2008",213));
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2007",213)));
}
/*
public void activate(boolean _active)
{
;
super(_active);
exgantt1.Chart().PaneWidth(false,0);
}
*/
|
409
|
How do I scale or zoom the chart to a specified range of date
public void init()
{
;
super();
/*should be called during the form's activate method*/ exgantt1.Chart().PaneWidth(false,0);
exgantt1.Chart().LevelCount(2);
exgantt1.Chart().Zoom(str2Date("1/1/2007",213),str2Date("7/1/2007",213));
exgantt1.Chart().FirstVisibleDate(COMVariant::createFromDate(str2Date("1/1/2007",213)));
}
/*
public void activate(boolean _active)
{
;
super(_active);
exgantt1.Chart().PaneWidth(false,0);
}
*/
|
408
|
How do I find the next date or previous date
public void init()
{
COM com_Chart;
anytype var_Chart;
;
super();
var_Chart = exgantt1.Chart(); com_Chart = var_Chart;
com_Chart.FirstVisibleDate(com_Chart.NextDate(str2Date("1/1/2002",213),4096/*exDay*/,COMVariant::createFromInt(1)));
}
|
407
|
How can I change the color for the grid lines in the chart

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().DrawGridLines(-1/*exAllLines*/);
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.DrawGridLines(true);
com_Level.GridLineColor(WinApi::RGB2int(255,0,0));
}
|
406
|
How can I draw, show or hide the grid lines in the chart

public void init()
{
COM com_Level;
anytype var_Level;
;
super();
exgantt1.Chart().DrawGridLines(-1/*exAllLines*/);
exgantt1.Chart().LevelCount(2);
var_Level = COM::createFromObject(exgantt1.Chart()).Level(1); com_Level = var_Level;
com_Level.DrawGridLines(true);
}
|
405
|
How do I change the color to highlight the today in the chart

public void init()
{
;
super();
exgantt1.Chart().MarkTodayColor(WinApi::RGB2int(255,0,0));
}
|
404
|
How do I hide or stop highlighting the today area in the chart
public void init()
{
;
super();
exgantt1.Chart().BackColor(WinApi::RGB2int(255,255,255));
exgantt1.Chart().MarkTodayColor(WinApi::RGB2int(255,255,255));
}
|
403
|
Is there any function to get the date in the format that I use for levels, to layout my chart's header
public void init()
{
str h;
;
super();
h = exgantt1.Chart().FormatDate(str2Date("1/1/2002",213),"<%yyyy%> <%mmmm%> <%d%> <%dddd%>");
exgantt1.Columns().Add(h);
}
|
402
|
How can I get the date from the point, cursor
// MouseMove event - Occurs when the user moves the mouse.
void onEvent_MouseMove(int _Button,int _Shift,int _X,int _Y)
{
;
print( exgantt1.Chart().DateFromPoint(-1,-1) );
}
public void init()
{
;
super();
}
|
401
|
How can I show or hide the small ticker that shows up when the cursor hovers the chart area
public void init()
{
;
super();
exgantt1.Chart().DrawDateTicker(false);
}
|